package com.example;

/**
 * @Auther: shiquan
 * @Date: 2024/10/13 - 10 - 13 -15:55
 */
public class Test2 {
    public static void main(String[] args) {
        getArea(5);
    }
    // 求圆面积  radius为半径
    public static void getArea(double radius){
        double result = 3.14 * radius * radius;
        System.out.println(result);

    }
}
